package com.itheima.polymorphsm3;

public class Tortoise extends Animal {

    String name = "乌龟";

    public void run() {
        System.out.println("乌龟跑得慢！");
    }

    //乌龟会游泳
    public void swim() {
        System.out.println("乌龟会游泳！");
    }
}
